#define _CRT_SECURE_NO_WARNINGS 1
#include<iostream>
using std::cout;
using std::cin;
using std::endl;

#include"vector.h"

int main() 
{
	vector<int>v(10, 100);
	v.resize(20, 99);

	cout << v.size() << endl;
	cout << v.capacity() << endl;

	for (auto e : v)
		cout << e << " ";
	cout << endl;

	v.insert(v.begin(), 88);
	v.insert(v.begin()+6, 88);
	v.insert(v.end(), 88);

	for (auto e : v)
		cout << e << " ";
	cout << endl;

	return 0;
}